package com.sy.service;

import com.sy.dto.EquipStateDto;
import com.sy.dto.EquipmentDto;
import com.sy.entity.Equipment;
import com.sy.vo.EquipmentVo;

import java.util.List;

/**
 * @author easonsy
 * @Description
 * @createTime 2022/06/25 15:56:00
 */
public interface EquipmentService {
    List<Equipment> showAllEquipment();
    boolean alterEquipmentState(Integer id,Integer stateId);
    boolean addEquipment(EquipmentVo equipmentVo);
    boolean delEquipment(Integer id);
    List<EquipStateDto> showEquipState();
    List<Equipment> findAllEquipsByName(EquipmentVo equipmentVo);
}
